import Vue from 'vue'
import { Input, Message, Modal, Form, FormItem, Button, Spin } from 'view-design'

Vue.component('Input', Input)
Vue.component('Message', Message)
Vue.component('Modal', Modal)
Vue.component('Form', Form)
Vue.component('FormItem', FormItem)
Vue.component('Button', Button)
Vue.component('Spin', Spin)
Vue.prototype.$Message = Message
Vue.prototype.$Modal = Modal
Vue.prototype.$Message.config({
  top: 20
})

import 'view-design/dist/styles/iview.css'
